package com.smithlibraties.util.annotation.register;

import net.minecraft.tileentity.TileEntity;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface RegisterTileEntity {
    /**
     * @return TileEntity的ID
     */
    String id();

    @Target(ElementType.TYPE)
    @Retention(RetentionPolicy.RUNTIME)
    public @interface Render {
        /**
         * @return TileEntity的Class
         */
        Class<? extends TileEntity> clazz();
    }
}
